import CommonApi from './common'

// 决策数据 /分析路段选择
class RoadSectionSelectApi extends CommonApi {
    constructor() {
        super()
        this.scope = '/decisionData/analyticalSection'
    }
    getUnitList(data) {
        const path = this.resolvePath('/decisionUnitList')
        return this.post(path, data)
    }
    saveUnit(data) {
        const path = this.resolvePath('/saveDecisionUnit')
        return this.post(path, data)
    }
    detectionBatchList(data) {
        const path = this.resolvePath('/detectionBatchList')
        return this.post(path, data)
    }
}

export default RoadSectionSelectApi
